package com.bjgzy.courselive.di.component;

import com.bjgzy.courselive.di.module.CourseLiveHomeModule;
import com.bjgzy.courselive.mvp.contract.CourseLiveHomeContract;
import com.bjgzy.courselive.mvp.ui.fragment.CourseLiveHomeFragment;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.FragmentScope;

import dagger.BindsInstance;
import dagger.Component;

/**
 * @author xubo
 * @date 2018-7-30 9:29:12
 */
@FragmentScope
@Component(modules = CourseLiveHomeModule.class, dependencies = AppComponent.class)
public interface CourseLiveHomeComponent {

    void inject(CourseLiveHomeFragment courseLiveHomeFragment);

    @Component.Builder
    interface Builder {
        @BindsInstance
        CourseLiveHomeComponent.Builder view(CourseLiveHomeContract.View view);

        CourseLiveHomeComponent.Builder appComponent(AppComponent appComponent);

        CourseLiveHomeComponent build();
    }


}